package com.free.space.controller;

import com.free.space.service.MainIndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by zhulj on 2019/3/19.
 */
@Controller
@RequestMapping("/free")
public class MainIndexController {
    @Autowired
    private MainIndexService mainIndexService;
    @RequestMapping("")
    public String mainIndexView(){
        String str = mainIndexService.testIndex();
        return "index.html";
    }
}
